package com.jemmyee.pizza.service;

import java.io.Serializable;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.jemmyee.core.dao.Page;
import com.jemmyee.pizza.dao.IPrepaidDeleteDao;
import com.jemmyee.pizza.entity.PrepaidDelete;

@Repository("prepaidDeleteService")
public class PrepaidDeleteServiceImpl implements IPrepaidDeleteService<PrepaidDelete>{

	@Autowired
	private IPrepaidDeleteDao prepaidDeleteDao ;
	
	public void delete(PrepaidDelete entity) {
		// TODO Auto-generated method stub
		
	}

	public void deleteAll(List<PrepaidDelete> list) {
		// TODO Auto-generated method stub
		
	}

	public void deleteById(Serializable id) {
		// TODO Auto-generated method stub
		
	}

	public List<PrepaidDelete> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

	public List<PrepaidDelete> findByCriteria(DetachedCriteria criteria) {
		// TODO Auto-generated method stub
		return null;
	}

	public PrepaidDelete findById(Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<PrepaidDelete> findByProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return null;
	}

	public Page findPageByCriteria(DetachedCriteria detachedCriteria,
			int pageSize, int startIndex, String order) {
		// TODO Auto-generated method stub
		return prepaidDeleteDao.findPageByCriteria(detachedCriteria, pageSize, startIndex, order);
	}

	public void save(PrepaidDelete entity) {
		prepaidDeleteDao.save(entity) ;
		
	}

	public void update(PrepaidDelete entity) {
		prepaidDeleteDao.update(entity) ;
	}

}
